<?php $this->load->view('inc/header'); ?>
<?php
$this->db->join('membership','membership.member_id=content_of_organization.member_id');
$this->db->where('c_org_id',$id);
$query = $this->db->get('content_of_organization');
foreach($query->result() as $rows){
	$c_org_title = $rows->c_org_title;
	$c_org_content = $rows->c_org_content;
	$c_org_date = $rows->c_org_date;	
	$firstname = $rows->firstname;
	$lastname = $rows->lastname;
}
?>
<!--one colunm-->
<div class="grid_12" style="background-color:#CCCCCC; padding-top:20px; padding-bottom:15px;">
<div class="grid_12 alpha" id="one_cols1">
	
	<div id="topic"><?=$c_org_title?></div>
</div>
<div class="grid_12 alpha"  id="one_cols2">
<!-- Section Header News -->
	<div style="padding-left:20px; padding-top:5px; font-size:x-small; color:#666666;">วันที่ <?php echo $c_org_date; ?> โดย <?php echo $firstname."&nbsp;".$lastname; ?></div>
<!-- End Section --> 
    
	<div id="text" style="width:870px;"><?=htmlspecialchars_decode($c_org_content)?></div>
</div>
<div class="grid_12 alpha" id="one_cols3"></div>
</div>
<div class="clear"></div>
<!--end one column-->

<?php $this->load->view('inc/footer'); ?>